arch/arm/include/asm/arch-omap5/clocks.h: Fix GCC 4.2 warnings
authorAnatolij Gustschin <[email protected]>
Sat, 3 Dec 2011 06:46:15 +0000 (06:46 +0000)
committerAlbert ARIBAUD <[email protected]>
Tue, 6 Dec 2011 22:59:40 +0000 (23:59 +0100)
Fix:
clocks.c: In function 'setup_post_dividers':
clocks.c:175: warning: comparison is always true due to limited range of
data type
clocks.c:177: warning: comparison is always true due to limited range of
data type
clocks.c:179: warning: comparison is always true due to limited range of
data type
clocks.c:181: warning: comparison is always true due to limited range of
data type
clocks.c:183: warning: comparison is always true due to limited range of
data type
clocks.c:185: warning: comparison is always true due to limited range of
data type
clocks.c:187: warning: comparison is always true due to limited range of
data type
clocks.c:189: warning: comparison is always true due to limited range of
data type

Signed-off-by: Anatolij Gustschin <[email protected]>
Cc: sricharan <[email protected]>
Cc: Tom Rini <[email protected]>
arch/arm/include/asm/arch-omap5/clocks.h

index fa99f654bd8b092bcacefd625654b1a64d064596..d0e6dd68dac53d86a976026c72e245534fa379b5 100644 (file)
@@ -686,14 +686,14 @@ struct dpll_regs {
 struct dpll_params {
        u32 m;
        u32 n;
-       u8 m2;
-       u8 m3;
-       u8 h11;
-       u8 h12;
-       u8 h13;
-       u8 h14;
-       u8 h22;
-       u8 h23;
+       s8 m2;
+       s8 m3;
+       s8 h11;
+       s8 h12;
+       s8 h13;
+       s8 h14;
+       s8 h22;
+       s8 h23;
 };
 
 extern struct omap5_prcm_regs *const prcm;